package com.atguigu.gmall.feign.ware.fallback;

import com.atguigu.gmall.feign.ware.WareFeignClient;

public class WareFeignClientFallBack  implements WareFeignClient {

    //默认的兜底数据返回
    @Override
    public String checkStock(Long skuId, Integer num) {
        return "1"; //默认都是有货
    }
}
